|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectga.core.algorithm.util.PopulationUtil
public final class PopulationUtil
Utility class for handling populations.
Constructor Summary | |
---|---|
private |
PopulationUtil()
Instantiation is not allowed. |
Method Summary | |
---|---|
static double |
getMaxFitness(IPopulation<?> pop)
Gets the maximum fitness of the whole population. |
static double |
getMeanFitness(IPopulation<?> pop)
Gets the mean fitness of the whole population. |
static double |
getMinFitness(IPopulation<?> pop)
Gets the minimum fitness of the whole population. |
static double[] |
getMinMeanMaxFitness(IPopulation<?> pop)
Gets the minimum/mean/maximum fitness of the whole population as array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private PopulationUtil()
Method Detail |
---|
public static double getMaxFitness(IPopulation<?> pop)
pop
- The population.
public static double getMinFitness(IPopulation<?> pop)
pop
- The population.
public static double getMeanFitness(IPopulation<?> pop)
pop
- The population.
public static double[] getMinMeanMaxFitness(IPopulation<?> pop)
pop
- The population.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |